package com.note.app.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * 手机号注册DTO
 */
@Data
@Schema(description = "手机号注册请求")
public class MobileRegisterDTO {
    
    @NotBlank(message = "手机号不能为空")
    @Schema(description = "手机号", required = true, example = "13800138000")
    private String mobile;
    
    @NotBlank(message = "验证码不能为空")
    @Schema(description = "验证码", required = true, example = "123456")
    private String code;
    
    @NotBlank(message = "密码不能为空")
    @Schema(description = "密码", required = true, example = "password123")
    private String password;
    
    @NotBlank(message = "确认密码不能为空")
    @Schema(description = "确认密码", required = true, example = "password123")
    private String confirmPassword;
    
    @Schema(description = "用户名", example = "user123")
    private String username;
    
    @Schema(description = "昵称", example = "张三")
    private String nickname;
    
    @Schema(description = "设备类型", example = "ANDROID")
    private String deviceType;
    
    @Schema(description = "设备信息", example = "Xiaomi 12")
    private String deviceInfo;
    
    @Schema(description = "登录IP")
    private String loginIp;
} 